package com.healthbox.appointmentservice.service;

import com.healthbox.appointmentservice.DTO.HospitalDTO;
import com.healthbox.appointmentservice.entity.Hospital;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author pengpeng
 * @date 2022/5/12
 */
public interface HospitalService {
    Hospital newHospital(HospitalDTO hospitalDTO);
    Hospital updateHospital(HospitalDTO hospitalDTO);
    List<Hospital> findHospital(String name, String phone);
    Hospital findOne(String phone);
}
